﻿<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Bootstrap CSS -->
    <title>Hello, world!</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <link href="css/style.css" rel="stylesheet" />
    <script src="../Scripts/jquery-3.3.1.js"></script>
    <script type="text/javascript">
        var server = "http://localhost:13772";

        $(function () {
            $("#submit").click(function () {
                $.get("demo_test.asp", function (data, status) {
                    alert("Data: " + data + "\nStatus: " + status);
                });
            });

        });

        function submit() {

            $.ajax({ url: "/jquery/test1.txt", async: false });

            //$.ajax({
            //    url: server + "/api/KongTou/AddKongTou",
            //    type: "POST",
            //    dataType: "json",
            //    data: { "Source": "0", "Token": "", "UserID": "", "PxgID": "123", "AddressType": "BTC", "BTCAddress": "test", "ETHAddress": "" },
            //    //error: function (XmlHttpRequest, textStatus, errorThrown) { alert(XmlHttpRequest.responseText); },
            //    success: function (data) {
            //        if (data && data.Code == 0) {
            //            alert("提交成功");
            //        }
            //        else {
            //            alert("提交失败");
            //        }
            //    }
            //});

        }

    </script>
</head>
   <body>
      <div class="col-sm-6"></div>
      <div id="grad1">
          <h1 class="text-center"><img src="img/smartx@2x.png" alt="" class="img_logo"></h1>
          <ul class="nav justify-content-center ul_margin">
              <li class="nav-item">
              <li class="nav-item">
                  <a class="nav-link SmartW active" href="#" tabindex="-1" aria-disabled="true">White Paper</a>
              <li class="nav-item">
                  <a class="nav-link SmartC" href="#">Contact</a>
              </li>
              <li class="nav-item">
                  <a class="nav-link SmartD" href="#">Discord</a>
              </li>
              <li class="nav-item">
                  <a class="nav-link SmartT" href="#">Telegram</a>
              </li>
              </li>
              <a class="nav-link SmartA" href="#">Airdrop</a>
              </li>
          </ul>
          <div class="description-div card-body">
              <p class="description card-text">Edgeware is a self-governing, self-improving WebAssembly blockchain, and Polkadot's first smart contract chain.The Edgeware lockdrop will distribute 90% of genesis EDG to Ethereum holders who timelock or signal their ETH. If you're new to the lockdrop, read more on our blog. If you need an EDG address, see the instructions. f you need an EDG address, see the instructions.</p>
          </div>
          <div class="cy-fonts text-center">
              <p class="cy-margin">参与空投币种</p>
          </div>
          <ul class="nav justify-content-center" id="btcEth-margin">
              <li class=""><img src="img/icon_chooosed.png" alt=""></li>
              <li>
                  <p id="btc-padding">BTC</p>
              </li>
              <li><img src="img/icon_normal.png" alt=""></li>
              <li>
                  <p id="eth-padding">ETH</p>
              </li>
          </ul>
          <div class="modal-body" role="alert">
              <p class="card-size text-center"><input id="addressStr" class="card-size text-center" type="text" value="0xFEC6F679e32D45E227" /></p>
          </div>
          <div class="cy-fonts text-center">
              <p style="margin-top: -5px;">你需要选择并填写相应的币种地址</p>
          </div>

          <div class="modal-body" role="alert">
              <p class="card-size text-center">
                <input id="addressStr" class="card-size text-center" type="text" value="uid" />
                  <input id="submit" type="button" value="提交"/>
              </p>
          </div>

      </div>
      <!-- Optional JavaScript -->
      <!-- jQuery first, then Popper.js, then Bootstrap JS -->
      <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
      <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
   </body>
</html>